package com.hys.app.mapper.erp;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hys.app.model.erp.dto.StockStatistics;
import com.hys.app.model.erp.dto.StockStatisticsQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 库存统计Mapper
 *
 * @author dmy
 * 2023-12-05
 */
public interface StockStatisticsMapper {

    /**
     * 查询商品库存统计信息
     * @param objectPage
     * @param params
     * @return
     */
    IPage<StockStatistics> selectStockStatisticsPage(Page<Object> objectPage, @Param("param") StockStatisticsQueryParam params);

    /**
     * 查询商品库存统计信息
     * @param params
     * @return
     */
    List<StockStatistics> selectStockStatisticsPage(@Param("param") StockStatisticsQueryParam params);

}
